package cn.qqncn.furniture.mapper;

import cn.qqncn.furniture.pojo.domain.Order;
import cn.qqncn.furniture.pojo.vo.BarVo;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
public interface OrderMapper {
    int deleteByPrimaryKey(String orderId);

    int insert(Order record);

    int insertSelective(Order record);

    Order selectByPrimaryKey(String orderId);

    int updateByPrimaryKeySelective(Order record);

    int updateByPrimaryKey(Order record);

    List<Order> selectAll();

    List<Order> selectByUserId(Integer integer);

    List<BarVo> selectBar();
}